package com.logic.contract

import com.sinopec.basemodule.base.BaseView
import com.sinopec.basemodule.base.baseImpl.BasePImpl
import com.sinopec.basemodule.model.ErrorPalletCodeResultModel
import com.sinopec.basemodule.model.StockOutApiRequestModel

/**
 * @author lwj
 * @ClassName: StockOutRfidContract
 * @Description: 出库-rfid扫码界面
 */
interface StockOutRfidContract {
    interface View : BaseView {
        /**
         * 确认出库结果
         */
        fun confirmStockOutSuccess(allList: List<String>?, errorList: List<ErrorPalletCodeResultModel>?)
    }

    abstract class Presenter(view: View) : BasePImpl<View>(view) {

        /**
         * 确认出库-编码校验
         */
        abstract fun confirmStockOut(model: StockOutApiRequestModel)

    }
}